package com.moka.db.test;

import com.moka.db.Column;
import com.moka.db.DatabaseEntity;
import com.moka.db.Table;

@Table(name="student")
public class Student extends DatabaseEntity{

	private static final long serialVersionUID = 1L;

	@Column(pk=true,name="id",type = "integer" )
	private int id;
	
	@Column(name="studentName",type="varchar")
	private String studentName;
	
	@Column(name="studentClass",type="varchar")
	private String studentClass;
	
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getStudentName() {
		return studentName;
	}

	public void setStudentName(String studentName) {
		this.studentName = studentName;
	}

	public String getStudentClass() {
		return studentClass;
	}

	public void setStudentClass(String studentClass) {
		this.studentClass = studentClass;
	}

	@Override
	public int getMaxVersion() {
		return 3;
	}

}
